package com.csd.pojo;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * @JavaBean Teacher
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 老师(专家(审核老师）、指导老师）
 */
public  class Teacher  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;			 
    /**用户名*/
     private String username;		 
    /**密码*/ 
     private String password;		 
    /**老师姓名*/
     private String name;			 
     /**电子邮件*/
     private String email;			 
     /**联系方式*/
     private String phone;			 
     /**个人网址*/    
     private String website;		 
     /**个人简介*/
     private String introduction;	  
     /**可分配状态*/
     private String status;			 
     /**老师指导的项目*/
     private Set<Project> projects = new HashSet<Project>(0);			 
     /**老师研究领域*/
     private Set<ResearchField> researchFields = new HashSet<ResearchField>(0);	 	
     /***老师的评估记录*/
     private Set<EvaluateItem> evaluateItems = new HashSet<EvaluateItem>(0);	 


    // Constructors

    /** default constructor */
    public Teacher() 
    {
    }
    
    public Teacher(String name, Integer id)
    {
    	this.name = name;
    	this.id = id;
    }

    /** full constructor */
    public Teacher(String username, String password, String name, String email, String phone, String website, String introduction, String status, Set<Project> projects, Set<ResearchField> researchFields, Set<EvaluateItem> evaluateItems) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.email = email;
        this.phone = phone;
        this.website = website;
        this.introduction = introduction;
        this.status = status;
        this.projects = projects;
        this.researchFields = researchFields;
        this.evaluateItems = evaluateItems;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWebsite() {
        return this.website;
    }
    
    public void setWebsite(String website) {
        this.website = website;
    }

    public String getIntroduction() {
        return this.introduction;
    }
    
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public Set<Project> getProjects() {
        return this.projects;
    }
    
    public void setProjects(Set<Project> projects) {
        this.projects = projects;
    }

    public Set<ResearchField> getResearchFields() {
        return this.researchFields;
    }
    
    public void setResearchFields(Set<ResearchField> researchFields) {
        this.researchFields = researchFields;
    }

    public Set<EvaluateItem> getEvaluateItems() {
        return this.evaluateItems;
    }
    
    public void setEvaluateItems(Set<EvaluateItem> evaluateItems) {
        this.evaluateItems = evaluateItems;
    }

	@Override
	public String toString() {
		return this.getName();
	}
   

   






}